let fs = require('fs')
let path = require('path')
fs.readdir('./a', function(err, files){
    console.log(files)
    files.forEach(file => {
        let child = path.join('a', file);
        console.log(child)
        fs.stat(child, function(err, stat){
            console.log(stat)
        })
    })
})









